package com.source.multithread.hashmapp;

/**
 * @Author wengqy
 * @Date 2020/12/24
 */
public class Father {
    private String name="private sub";
    String age="default age";
    public String sex="public sex";
    protected  String home="protected home";

  /*  private String name ;
    String age ;
    public String sex ;
    protected  String home ;*/
    public int iint ;
    public double ddouble ;
    public float ffloat ;
    public Integer iiteger ;
    public static int staticInt ;


/*    public static void main(String[] args) {
        Father  father = new Father();
        father.name="ddddd";
        System.out.println(father.name);
        System.out.println(father.age);
        System.out.println(father.sex);
        System.out.println(father.home);
     }*/


    private String sop1(){
        return "private sop";
    }


    protected String sop2(){
        return "protected sop2";
    }
    public String sop3(){
        return "public sop3";
    }


      String sop4(){
        return "default sop4";
    }
}
